package com.cy.pj.sys.pojo.dao;

import com.cy.pj.sys.pojo.pojo.SysLog;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
//数据层
@Mapper
public interface SysLogDao {
    //添加
    int insertLog(SysLog entity);
    //删除
    int deleteById(Long...ids);
    //通过id查询
   // @Select("select * from sys_logs where id=#{id}")
    SysLog selectById(Long id);
    //查询所有
    List<SysLog>selectLogs(SysLog sysLog);

}
